<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>显示帖子明细</title>
<style type="text/css">
	body {
		min-height: 100vh;
		margin: 0px;
	}
	
	.add-one {
		/* border: 5px solid navy; */
		box-sizing: border-box;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	
	.add-one > table {
		/* border: 1px solid black; */ 
	}
	
	.add-one td {
		/* border: 1px solid black; */
		padding: 2px 0px;
		white-space: nowrap;
	}
	
	.add-one td:first-child {
		text-align: right;
		font-size: medium;
	}
	
	.add-one td:nth-child(2) {
		text-align: left;
	}
	
	.add-one td:only-child {
		text-align: center;
	}
	
	.add-one select[name="type"] {
		width: 200px;
		height: 35px;
		background-color: ghostWhite;
		border: 1px solid silver;
		border-radius: 8px 8px;
	}
	
	.add-one input[type="text"] {
		width: 600px;
		height: 30px;
		background-color: ghostWhite;
		border: 1px solid silver;
		border-radius: 8px 8px;
	}
	
	.add-one textarea {
		border-radius: 5px 5px;
		background-color: ghostWhite;
	}
	
	.add-one input[type="submit"], 
	.add-one input[type="reset"] {
		padding: 5px 20px;
		background-color: crimson;
		color: white;
		cursor: pointer;
		border-style: outset;
		border-width: 1px;
		border-color: ivory;
		border-radius: 5px 5px;
	}
	
	.add-one input[type="submit"]:hover, 
	.add-one input[type="reset"]:hover {
		background-color: purple;
	}
	
	.add-one input[type="submit"]:active, 
	.add-one input[type="reset"]:active {
		background-color: orange;
		border-style: inset;
	}
</style>
</head>
<body>


	<form class="add-one" action="${pageContext.request.contextPath}/UserServlet/insertOneIntel">
		<h4>帖子明细</h4>
		<table>
			
			<tr>
				<td>类型：</td>
				<td><input type="text" name="type" value="${intel.type}"  autocomplete="off" required="required"/></td>
			</tr>
			
			<tr>
				<td>发布时间：</td>
				<td><input type="text" name="ptime" value="${intel.ptime}"  autocomplete="off" required="required"/></td>
			</tr>
			
			<tr>
				<td>标题：</td>
				<td><input type="text" name="tittle" value="${intel.tittle}"  autocomplete="off" required="required"/></td>
			</tr>
			
			<tr>
				<td>描述：</td>
				<td>
					<textarea name="dspt" rows="18" cols="100">${intel.dspt}</textarea>
				</td>
			</tr>
			<tr>
				<td>发帖用户：</td>
				<td>
				<input type="text" value="${intel.user.name}" readonly="readonly"/>
				</td>
			</tr>
		</table>
	</form>
	










</body>
</html>